import { find, tween, _decorator } from "cc";
import { InjectableComponent } from "../../inject";
const { ccclass, property } = _decorator;

@ccclass
export default class WaitingComp extends InjectableComponent {
    onLoad() {
        super.onLoad();

        let loadingNode = find('loading', this.node);
        tween().target(loadingNode).by(1, { angle: -144 }).repeatForever().start();
    }
}